package com.yesido.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author yesido
 * @description 配置服务客户端
 * @date 2023-06-04 21:42
 * @Version 8.3
 */
@SpringBootApplication
@EnableEurekaClient // 只适用于eureka注册中心
@EnableDiscoveryClient // 可以使用别的注册中心
public class ConfigClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigClientApplication.class, args);
    }
}
